std::getchar

From Cppreference

< cpp | io | c
Jump to: navigation, search
Defined in header <cstdio>

int getchar();

Reads the next character from stdin.

Parameters

(none)

Return value

the obtained character or EOF if an error has occurred or the end of file reached

See also

fgetc
getc
gets a character from a file stream
(function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages